#pragma once

#include <set>

struct grid
{
	int n;
	std::set<int> option;

	void Clear()
	{
		n = 0;
		for (int i = 1; i <= 9; i++)
		{
			option.insert(i);
		}
	}

	grid& operator=(grid& other)
	{
		n = other.n;
		option.clear();
		for (auto& u : other.option)
		{
			option.insert(u);
		}
		return *this;
	}
};